<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>添加内容</title>
	<link rel="stylesheet" type="text/css" href="/dcms/Public/common.css" />
	<script type="text/javascript" src="/dcms/Public/Admin/resources/scripts/jquery-1.7.2.min.js"></script>
	<link rel="stylesheet" type="text/css" href="/dcms/Public/Boot/bootstrap.min.css" />
	<script type="text/javascript" src="/dcms/Public/Boot/bootstrap.min.js"></script>
	<link rel="stylesheet" type="text/css" href="/dcms/Public/Button/css/font-awesome.min.css" />
			
</head>
<body>
	<div class="table-responsive w800">
  		<table class="table table-striped">
    		<tr>
				<td class="w100">栏目</td>
				<td class="w300">选择栏目</td>
			</tr>
			<?php if(is_array($cate)): $i = 0; $__LIST__ = $cate;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$c): $mod = ($i % 2 );++$i;?><tr>
				
				<td ><span style='list-style:none;padding-left:<?php echo ($c["level"]); ?>6px;'> |--</span><?php echo ($c["cname"]); ?></td>
				
				<td>
					<a href="<?php echo U('Content/index',array('cid'=>$c['cid']));?>" class="btn btn-success icon-hand-right">选择</a>
				</td>
			</tr><?php endforeach; endif; else: echo "" ;endif; ?>
  		</table>
	</div>
</body>
</html>